const methods = {
  handleConfirm() {
    const form = this.form;
    form.predictServiceStartTime = new Date(
      form.predictServiceStartTime
    ).getTime();
    form.predictServiceEndTime = new Date(form.predictServiceEndTime).getTime();

    this.$emit('confirm', form);
  },
  handleCancel() {
    this.ifDialog = false;
  },
  handleDelete() {
    const form = this.form;
    this.$emit('delete', form);
  }
};

export default methods;
